www.gusucode.com > Student Competition - Code Generation Training工具箱matlab源码 > Student Competition - Code Generation Training/CodeGenFX/Files/ch2_cgConceptsML/solution/roundPixel.m

    function val = roundPixel(val) %#codegen
    % Copyright 2018 The MathWorks, Inc.
    coder.inline('never')
    val = round(val);

end